package com.cskaoyan.service;

import com.cskaoyan.bean.basebean.BaseParam;
import com.cskaoyan.bean.Ad;
import com.cskaoyan.bean.basebean.BasePageData;
import com.cskaoyan.exception.AdException;

/**
 * @author lxy
 * @create 2021-10-18 19:08
 */
public interface AdService {

    BasePageData query(String name, String content, BaseParam baseParam);


    void deleteAd(Ad ad) throws AdException;

    void updateAd(Ad ad) throws AdException;

    void createAd(Ad ad) throws AdException;
}
